package pl.pkolodziej.utils;

import java.sql.Timestamp;
import java.util.Calendar;
import java.util.Date;

public class MyTime {
	public static Timestamp getCurrentTimestamp(){
		Calendar cal = Calendar.getInstance();
		Date nowDate = cal.getTime();
		Timestamp timestamp = new Timestamp(nowDate.getTime());
		return timestamp;
	}
}
